namespace RMSModel.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    [Table("sys_region")]
    public partial class sys_region
    {
        [Column(TypeName = "mediumint")]
        public int id { get; set; }

        [Column(TypeName = "mediumint")]
        public int parent_id { get; set; }

        [Required]
        [StringLength(120)]
        public string name { get; set; }

        public int type { get; set; }

        public int agency_id { get; set; }
    }
}
